import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:get/get.dart';
import 'package:gourmet/utils/colors.dart';
import 'package:gourmet/utils/styles.dart';

class StoreHelpController extends GetxController {}

class StoreHelpPage extends GetView<StoreHelpController> {
  const StoreHelpPage({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.white,
      appBar: AppBar(
        backgroundColor: Colors.white,
        systemOverlayStyle: SystemUiOverlayStyle.dark,
        leading: IconButton(
          onPressed: Get.back,
          icon: const Icon(
            CupertinoIcons.chevron_back,
            size: 20,
            color: Colors.black,
          ),
        ),
        centerTitle: true,
        title: Text(
          '开店帮助',
          style: StylesUtils.customTextStyle(
            fontSize: StylesUtils.fontSize16,
            fontWeight: FontWeight.w700,
            color: ColorsUtils.color0000,
          ),
        ),
      ),
      body: SingleChildScrollView(
        padding: const EdgeInsets.only(left: 15, right: 15),
        child: Column(
          children: [
            Container(
              alignment: Alignment.centerLeft,
              margin: const EdgeInsets.only(top: 25),
              child: Text(
                '1、商家开店卖需要什么条件？',
                style: StylesUtils.customTextStyle(
                  fontSize: StylesUtils.fontSize15,
                  color: ColorsUtils.color0000,
                ),
              ),
            ),
            Container(
              margin: const EdgeInsets.only(top: 10, bottom: 25),
              alignment: Alignment.centerLeft,
              child: Text(
                '商家开店要求有实体店铺，您需要准备实体店铺照片、法人身份证、营业执照、经营许可证等证件。目前接受申请的两大品类包括餐饮店铺与零售店铺。',
                style: StylesUtils.customTextStyle(
                  fontSize: StylesUtils.fontSize15,
                  color: ColorsUtils.color7979,
                  lineHeight: 1.6,
                ),
              ),
            ),
            Container(
              alignment: Alignment.centerLeft,
              child: Text(
                '2、商家开店的流程是什么？',
                style: StylesUtils.customTextStyle(
                  fontSize: StylesUtils.fontSize15,
                  color: ColorsUtils.color0000,
                ),
              ),
            ),
            Container(
              margin: const EdgeInsets.only(top: 10, bottom: 25),
              alignment: Alignment.centerLeft,
              child: Text(
                '商家开店需要经过以下步骤：提交开店申请→平台审核→签订合同→创建门店',
                style: StylesUtils.customTextStyle(
                  fontSize: StylesUtils.fontSize15,
                  color: ColorsUtils.color7979,
                  lineHeight: 1.6,
                ),
              ),
            ),
            Container(
              alignment: Alignment.centerLeft,
              child: Text(
                '3、商家开店的收费标准？',
                style: StylesUtils.customTextStyle(
                  fontSize: StylesUtils.fontSize15,
                  color: ColorsUtils.color0000,
                ),
              ),
            ),
            Container(
              margin: const EdgeInsets.only(top: 10, bottom: 25),
              alignment: Alignment.centerLeft,
              child: Text(
                '不同品类、不同城市的收费标准不尽相同，提交开店申请后会有平台经理与您详细沟通。',
                style: StylesUtils.customTextStyle(
                  fontSize: StylesUtils.fontSize15,
                  color: ColorsUtils.color7979,
                  lineHeight: 1.6,
                ),
              ),
            ),
            Container(
              alignment: Alignment.centerLeft,
              child: Text(
                '4、提交开店申请后多久能审核？',
                style: StylesUtils.customTextStyle(
                  fontSize: StylesUtils.fontSize15,
                  color: ColorsUtils.color0000,
                ),
              ),
            ),
            Container(
              margin: const EdgeInsets.only(top: 10, bottom: 25),
              alignment: Alignment.centerLeft,
              child: Text(
                '提交开店申请后一般会在3个工作日内开始审核，您可以下载小默外卖商家APP查看详细审核进程。',
                style: StylesUtils.customTextStyle(
                  fontSize: StylesUtils.fontSize15,
                  color: ColorsUtils.color7979,
                  lineHeight: 1.6,
                ),
              ),
            ),
          ],
        ),
      ),
    );
  }
}
